package com.edu.bean;

/**
 * @Author:何包蛋
 * @Date :2022/10/3 - 10 - 03 - 14:12
 */
public class Book {

    private  int bookId;

    private String bookName;

    private String bookWriter;

    private double bookPrice;

    private String bookType;

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookWriter() {
        return bookWriter;
    }

    public void setBookWriter(String bookWriter) {
        this.bookWriter = bookWriter;
    }

    public double getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(double bookPrice) {
        this.bookPrice = bookPrice;
    }

    public String getBookType() {
        return bookType;
    }

    public void setBookType(String bookType) {
        this.bookType = bookType;
    }

    public Book() {
        super();
    }

    public Book(String bookName, String bookWriter, double bookPrice, String bookType) {
        this.bookName = bookName;
        this.bookWriter = bookWriter;
        this.bookPrice = bookPrice;
        this.bookType = bookType;
    }

    public Book(int bookId, String bookName, String bookWriter, double bookPrice, String bookType) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookWriter = bookWriter;
        this.bookPrice = bookPrice;
        this.bookType = bookType;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", bookWriter='" + bookWriter + '\'' +
                ", bookPrice=" + bookPrice +
                ", bookType='" + bookType + '\'' +
                '}';
    }
}
